﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class basecon_category : System.Web.UI.UserControl
{
    public DataTable dt;
    protected void Page_Load(object sender, EventArgs e)
    {
            this.imgX.ImageUrl = Params.ImagesFolderHttp + "x.gif";
            string sql = "select * from Category";
            this.dt = Fun.CreateDt(sql);
    }

    public int Guid
    {
        set
        {
            this.hidGuid.Value = value.ToString();
        }
        get
        {
            return Convert.ToInt32(this.hidGuid.Value);
        }
    }

    public string CategoryID
    {
        get
        {
            return this.ClientID + "_Category";
        }
    }
}
